Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: supports top-level await and namespace isolation #750

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

ACTCD
Copy link
Collaborator

@ACTCD ACTCD commented Nov 6, 2024

resolve #749 and supports top-level await in user script

@ACTCD ACTCD requested a review from quoid November 6, 2024 03:03
@ACTCD ACTCD changed the title fix: supports top-level await and namespace isolation feat: supports top-level await and namespace isolation Nov 6, 2024
@ACTCD ACTCD merged commit 5e6f373 into main Nov 6, 2024
1 check passed
@ACTCD ACTCD deleted the fix/supports-top-level-await-and-namespace-isolation branch November 6, 2024 03:23
@ACTCD
Copy link
Collaborator Author

ACTCD commented Nov 20, 2024

Supporting top-level await may cause further delays in user script execution especially in document-start requirements.

But since document-start itself cannot be implemented in current Safari, this issue is not a fatal regression.

Really solving all issues will require waiting for the implementation of the UserScripts API (#756), which provides a true document-start, and that we will no longer provide an async wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Implement script isolation
2 participants